<?php
class SloggyUsers extends Slog_Db_Table 
{
	public function __create()
	{
		$this->query(<<<EOD
		CREATE TABLE `sloggy_users` (
		  `id_user` int(10) unsigned NOT NULL auto_increment,
		  `login` varchar(50) NOT NULL,
		  `email` varchar(150) NOT NULL,
		  `password` varchar(50) NOT NULL,
		  `rol` enum('user','editor','admin') NOT NULL,
		  PRIMARY KEY  (`id_user`)
		);
EOD
		);
	}
}